import { Link } from '@aws-amplify/ui-react';

The flutter widgets that are part of Amplify UI will respond to the <Link isExternal href="https://api.flutter.dev/flutter/material/ThemeData/brightness.html">brightness</Link> of your MaterialApp's ThemeData.
